﻿namespace Traffic.Entity;

/// <summary>
/// 用户信息
/// </summary>
public partial class UserDatum
{
    public int Id { get; set; }

    /// <summary>
    /// 帐号类型 0：小程序  1：候机楼公众号  2：运通公众号  3：工行E生活号
    /// </summary>
    public int AccountType { get; set; }

    /// <summary>
    /// 昵称
    /// </summary>
    public string? NickName { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string? RealName { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string? Sex { get; set; }

    /// <summary>
    /// 身份证
    /// </summary>
    public string? Idcard { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 小程序OPENID
    /// </summary>
    public string WxOpenId { get; set; } = null!;

    /// <summary>
    /// 微信用户唯一ID
    /// </summary>
    public string? WxUnionid { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 头像连接
    /// </summary>
    public string? HeadPic { get; set; }

    /// <summary>
    /// 省份
    /// </summary>
    public string? Province { get; set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string? City { get; set; }

    /// <summary>
    /// 住址
    /// </summary>
    public string? Address { get; set; }

    public string? RandomCode { get; set; }

    /// <summary>
    /// 是否VIP
    /// </summary>
    public bool IsVip { get; set; }

    /// <summary>
    /// VIP等级
    /// </summary>
    public string? VipLevel { get; set; }

    /// <summary>
    /// VIP结束日期
    /// </summary>
    public DateTime VipEndDate { get; set; }

    /// <summary>
    /// 用户状态   默认1  0：停用  1：正常
    /// </summary>
    public bool Status { get; set; }
}
